{literal}
<script type="text/javascript">

    jQuery(".easyui-datebox").datetimebox({
         required: true,  
         showSeconds: false  ,
    });
    
    jQuery(".meeting_request_form .easyui-combobox").combobox();
    
</script>
{/literal}




{form name="meeting_request" no_load_js="true"}
<input type="hidden" name="module" value="profilemodule">
<input type="hidden" name="action" value="meeting_request">
<input type="hidden" name="ajax_action" value="1">
<div class="meeting_request_form">
    <div class="one_half first meeting_leftcolumn" >
            {* Meeting Left Column *}
            <div class="control twocontrol_on_row" >
                <label>
                    <span class="label">{$_TR.date}</span>
                    
                   <input class="easyui-datebox" id="date_meeting"  name="meeting_date" value="{$meeting->meeting_date_text}" style="width:200px">
                </label>
            </div>         

            
            {* Duration *}
            <div class="control twocontrol_on_row">
                <label>

                    <span class="label">{$_TR.meeting_duration}</span>
                    <select class="easyui-combobox" style="width:200px">
                        <option value="15" {if $meeting->meeting_duration == 15}selected{/if}>15 mins</option>
                        <option value="30" {if $meeting->meeting_duration == 30}selected{/if}>30 mins</option>
                        <option value="45" {if $meeting->meeting_duration == 45}selected{/if}>45 mins</option>
                        <option value="60" {if $meeting->meeting_duration == 60}selected{/if}>60 mins</option>
                        <option value="120" {if $meeting->meeting_duration == 120}selected{/if}>2 hours</option>
                        <option value="150" {if $meeting->meeting_duration == 150}selected{/if}>2.5 hours</option>
                        <option value="180" {if $meeting->meeting_duration == 180}selected{/if}>3 hours</option>
                        
                    </select>
                </label>
            </div>
            
            <div class="control twocontrol_on_row">
                <label>
                    <span class="label">{$_TR.meeting_place}</span>
                    <input type="text" name="meeting_place" value="{$meeting->meeting_place}" style="width:200px">                       
                </label>
            </div>
            
            <div class="control twocontrol_on_row" >
                <label>
                    <span class="label">{$_TR.meeting_lang}</span>
                    <select class="easyui-combobox" style="width:200px">
                       {foreach from=$meeting_language key=k item=v}
                        <option value="{$k}" {if $k == $meeting->meeting_language}selected{/if}>{$v}</option>
                       {/foreach}
                    </select>
                </label>
            </div>
            <div class="control twocontrol_on_row">
                <label>
                    <span class="label">{$_TR.meeting_type}</span>
                    <select class="easyui-combobox" style="width:200px">
                        {foreach from=$meeting->meeting_type key=k item=v}
                            <option value="{$k}" {if $k == $meeting->meeting_type}selected{/if}>{$v}</option>
                       {/foreach}
                    </select>
                </label>
            </div>
            {* Record ?*}
            
                        <div class="control twocontrol_on_row">
                <label >
                    <span class="label">{$_TR.record}</span>
                    <select class="easyui-combobox" style="width:200px" name="meeting_record">
                        <option value="0" {if $meeting->meeting_record==1}selected{/if}>{$_TR.no}</option>
                        <option value="1" {if $meeting->meeting_record==1}selected{/if}>{$_TR.yes}</option>
                    </select>
                </label>
            </div>
            
            
            <div class="control twocontrol_on_row">
                <label >
                    <span class="label">{$_TR.tran_request}</span>
                    <select class="easyui-combobox" style="width:200px" name="mentor_request">
                        <option value="0" {if $meeting->translator_request==1}selected{/if}>{$_TR.no}</option>
                        <option value="1" {if $meeting->translator_request==1}selected{/if}>{$_TR.yes}</option>
                    </select>
                </label>
            </div>
                      
            
            <div class="control twocontrol_on_row">
                <label >
                    <span class="label">{$_TR.relate}</span>
                    <select class="easyui-combobox" style="width:200px" name="related_lawyer">
                        <option value="0" {if $meeting->related_lawyer==1}selected{/if}>{$_TR.no}</option>
                        <option value="1" {if $meeting->related_lawyer==1}selected{/if}>{$_TR.yes}</option>
                    </select>
                </label>
            </div>
            
            <div class="clearfix"></div>
            </div>
            <div class="one_half no_right_border">
       
            <div class="control twocontrol_on_row">
                <label >
                    <span class="label"><b>{$_TR.mentor_request}</b></span>
                    
                </label>
            </div>
            <div class="control twocontrol_on_row">
                <label >
                    
                    <select class="easyui-combobox" style="width:200px" name="mentor_request">
                        <option value="0" {if $meeting->mentor_request==1}selected{/if}>{$_TR.no}</option>
                        <option value="1" {if $meeting->mentor_request==1}selected{/if}>{$_TR.yes}</option>
                    </select>
                </label>
            </div>

           <div class="control twocontrol_on_row">
            {control type=textarea name='_meeting_detail_form_mentor_expertise'  label=$_TR.required_expertise rows="5" value=$meeting->mentor_required }
            </div>
            <div class="control twocontrol_on_row">
            {control type=textarea name='_meeting_detail_form_notes' label=$_TR.note cols="25" rows="5" value=$meeting->meeting_notes}</div></div>
            <div class="clearfix">

   
<br>

{/form}
{literal}
<script type="text/javascript">
   
    jQuery(".easyui-combobox").combobox({});
    jQuery('#meeting_place').addClass('required'); 
    jQuery('textarea[name="previous_subject"]').addClass('required'); 
    jQuery('textarea[name="new_subject"]').addClass('required'); 
    jQuery('#meeting_request').validate();  
    
</script>
{/literal}
